﻿using System;
using System.IO;
using TestGet.WordServices;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
                byte[] doc = File.ReadAllBytes(@"d:\test.docx");
                MetadataServicesClient srv = new MetadataServicesClient();
                Console.WriteLine(srv.Extract(doc, "http://schemas.microsoft.com/customxml/datastore"));
                srv.Close();
                Console.WriteLine("Appuyez sur une touche pour continuer");
                Console.ReadKey();
        }
    }
}
